<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <title></title>
    <link href="libs/weui/weuix.min.css" rel="stylesheet" />
    <link href="libs/swipe/swiper.min.css" rel="stylesheet" />
    <link href="css/common.css" rel="stylesheet"/>
    <link href="css/home.css" rel="stylesheet" />
</head>
<body>

    <div class="weui_tab_bd">
        <div class="weui_panel weui_panel_access">
            <div class="weui_panel_bd shop-list mt0"></div>
        </div>
    </div>

</body>
<script type="text/javascript" src="libs/zepto/zepto.min.js"></script>
<script type="text/javascript" src="libs/common/picker.js"></script>
<script type="text/javascript" src="libs/swipe/swiper.min.js"></script>
<script type="text/javascript" src="libs/common/updown.js"></script>
<script type="text/javascript" src="libs/common/lazyimg.js"></script>

<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="components/testhome.js" ></script>
<script type="text/html" id="category_list_tpl">
    {{each result value index}}
    <div class="shop-item" categoryid="{{result[index].categoryId}}">
        <div class="shop-head">
            <div class="title">{{result[index].categoryName}}</div>
            <span class="fr">￥{{result[index].price}}</span>
        </div>
        <div class="swiper-container">
            <div class="swiper-wrapper">
                {{each result[index].images value j}}
                <div class="swiper-slide">
                    <a href="detail.html?id={{result[index].id}}"><img data-img="{{result[index].images[j].smallUrl}}" src="{{result[index].images[j].smallUrl}}" /></a>
                </div>
                {{/each}}
            </div>
        </div>
        <div class="des-info">{{result[index].desc}}</div>
        <div class="fav-message">
            <a href="javascript:;">收藏<em>{{result[index].favoriteCount}}</em></a><a href="javascript:;">留言<em>{{result[index].commentCount}}</em></a>
        </div>
    </div>
    {{/each}}
</script>

</html>
